package com.fhz.mvvmshopjava;

import androidx.appcompat.app.AppCompatActivity;
import androidx.room.Entity;

import android.content.Intent;
import android.os.Bundle;

import com.fhz.mvvmshopjava.ui.index.IndexActivity;
import com.fhz.mvvmshopjava.ui.login.LoginActivity;

import dagger.hilt.android.AndroidEntryPoint;

/**
 * 首页
 */
@AndroidEntryPoint
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
//        startActivityForResult(new Intent(this, LoginActivity.class),888);
        startActivity(new Intent(this, IndexActivity.class));
    }
}